/*
 * gx_hashring_puernodeimpl.h
 *
 *  Created on: Apr 12, 2012
 *      Author: zhanggx
 */

#ifndef GX_HASHRING_PUERNODEIMPL_H_
#define GX_HASHRING_PUERNODEIMPL_H_

#include "gx.h"

int gx_pure_init_ring(gx_hashring_t* hashring);
int gx_pure_copy_to_ring(const gx_hashring_t* hashring, gx_hashring_t*);
int gx_pure_add_node(gx_hashring_t* hashring, gx_string_t node, void* usr_data);
int gx_pure_delete_node(gx_hashring_t* hashring, gx_string_t node);
int gx_pure_select_node(gx_hashring_t* hashring, gx_hash_node_t* node, gx_string_t key);

#endif /* GX_HASHRING_PUERNODEIMPL_H_ */
